﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HKEA.CMS.Core.DAL;
using HKEA.CMS.Core.IDAL;
using HKEA.CMS.Core.Models;
using HKEA.CMS.Core.DALFactory;

namespace HKEA.CMS.Core.BLL
{
    public class Search_Cust_InfoBLL
    {
        
        private ISearch_Cust_Info IDAL;
        public Search_Cust_InfoBLL() {
            IDAL = DataAccess.CreateISearch_Cust_Info();
        }
        
        public List<Search_Result> GetListByEntity(Search_Cust_Info ent) {
            List<Search_Result> list = new List<Search_Result>();
            //list = IDAL.GetListByENT(ent);
            list = IDAL.GetListParmByENT(ent);
            return list;
        }
    }
}
